<div class="page-orderlist page page-usercenter page-manager clearfix">
    <div class="order-header clearfix" style="height:auto;">
        <a href="javascript:void(0);" ng-click="switchTab(areaId)" ng-repeat="(areaId, areaName) in tabList" class="order-tab-title" ng-class="{'selected':selection.tab == areaId}">{{areaName}}</a>
        <a href="javascript:void(0);" ng-click="gotoUserGatherInfo()">业务员当日数据</a>
    </div>
    <div class="basic-info" style='height:auto;padding-bottom:10px;'>
        <!--转化率图层-->
        <div class="order-status">
            <table>
            <tr>
                <td class="status-item">
                    <a href="javascript:void(0)">
                        <div class="count"><strong>{{saleGatherInfo.orderedNowRate}}%</strong></div>
                        <div class="status">本月转化率</div>
                    </a>
                </td>
                <td class="status-item">
                    <a href="javascript:void(0)">
                        <div class="count"><strong>{{saleGatherInfo.reOrderedNowRate}}%</strong></div>
                        <div class="status">本月复购率</div>
                    </a>
                </td>
                <td class="status-item">
                    <a href="javascript:void(0)" ng-click="gotoPage('ordersListByArea')">
                        <div class="count"><strong>{{saleGatherInfo.amountReceiptWithoutPayed}}</strong></div>
                        <div class="status">已收货未收款</div>
                    </a>
                </td>
            </tr>
            <tr>
                <td colspan='3'>&nbsp;</td>
            </tr>
            <tr>
                <td class="status-item">
                    <a href="javascript:void(0)">
                        <div class="count"><strong>{{saleGatherInfo.tPriceNow}}</strong></div>
                        <div class="status">本月销售总额</div>
                    </a>
                </td>
                <td class="status-item">
                    <a href="javascript:void(0)">
                        <div class="count"><strong>{{saleGatherInfo.tPriceTargetNow}}</strong></div>
                        <div class="status">本月销售指标</div>
                    </a>
                </td>
                <td class="status-item">
                    <a href="javascript:void(0)">
                        <div class="count"><strong>{{saleGatherInfo.tPriceFinishRateNow}}%</strong></div>
                        <div class="status">本月销售额完成率</div>
                    </a>
                </td>
            </tr>
            </table>
        </div>
        <!--转化率图层-->
    </div>
    <!--日销售统计-->
    <div class="chart-layer" style="width:100%;">
        <div id="myOrderBar" style="width:100%;height:400px;"></div>
    </div>
    <!--日销售统计-->
    <!--合作客户结构-->
    <div class="chart-layer" style="width:100%;">
        <div id="myCustomerPie" style="width:100%;height:400px;"></div>
    </div>
    <!--合作客户结构-->
    <div class="chart-layer" style="width:100%;" id="user_gather_info">
        <table style='width:95%;margin:auto;'>
        <thead>
        <tr>
            <th style='text-align:left;padding:5px;'>业务员</th>
            <th style='text-align:right;padding:5px;'>当日订单<br />数量</th>
            <th style='text-align:right;padding:5px;'>当日订单<br />总金额</th>
        </tr>
        </thead>
        <tr ng-repeat="(key, user) in saleGatherInfo.userGatherInfo" style="background:{{($index%2 === 0)?'#ECECEC':''}};">
            <td style='text-align:left;padding:5px;'><span ng-click="getUserData(key, user.fullName)" style="text-decoration:underline;">{{user.fullName}}</span></td>
            <td style='text-align:right;padding:5px;'>{{user.orderNums}}</td>
            <td style='text-align:right;padding:5px;'>{{user.orderTotalPrice}}</td>
        </tr>
        </table>
    </div>
</div>
